<!--
 * @Date: 2020-03-31 10:47:02
 * @LastEditors: 黄栋
 * @LastEditTime: 2020-03-31 10:51:26
 * @FilePath: /GIV/src/web/weexplus/component/fileInput.vue
 -->
 <template>
  <div>
    <input class="fileInput" type="file" id="file" @change="uploadConfig" />
  </div>
</template>
<script>
export default {
  props: {
    uploadConfig: {
      type: Function
    }
  }
};
</script>
<style  scoped>
.fileInput {
  position: absolute;
  left: 0;
  top: 0;
  width: 350px;
  height: 300px;
  opacity: 0;
}
</style>